<?php
/**
 * Widgets - Improving the functionality for Widgets
 *
 * @package WP_Framework
 */

/**
 * widgetarea_active() - Checks to see if a widget area is active based on ID
 *
 * @since - 0.4
 */
function widgetarea_active( $index ) {
	global $wp_registered_sidebars;
	
	$widgetarea = wp_get_sidebars_widgets();
	if ( $widgetarea[$index] ) return true;
	
	return false;
}
?>